Update main.yml to add libsodium-dev #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to shinyapps.io | |
on: | |
# run on push to main | |
push: | |
branches: | |
- main | |
# run on request (via button in actions menu) | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Deploy to shinyapps | |
# allow skipping deployment for commits containing '[automated]' or '[no-deploy]' in the commit message | |
if: "!contains(github.event.head_commit.message, '[no-deploy]')" | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get install -y libsodium-dev | |
- uses: actions/checkout@v2 | |
- name: deploy | |
uses: BDSI-Utwente/shinyapps-deploy-github-action@v1 | |
with: | |
# account and application name (https://<accountName>.shinyapps.io/<appName>) | |
appTitle: Assessment EG Secretariat Checks | |
appName: icesTEASD | |
accountName: ices-tools-dev | |
appFiles: R,inst,man,NAMESPACE,DESCRIPTION,.Rbuildignore,app.R | |
# token and secret obtained from https://www.shinyapps.io/admin/#/tokens | |
accountToken: ${{ secrets.SHINYAPPS_TOKEN }} | |
accountSecret: ${{ secrets.SHINYAPPS_SECRET }} |