Bump to adamghill/[email protected]
for Gi…
#69
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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy_web: | |
name: Deploy web | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Delete huge unnecessary tools folder | |
run: rm -rf /opt/hostedtoolcache | |
- uses: actions/checkout@v3 | |
- uses: adamghill/[email protected] | |
with: | |
caprover-app-name: fediview-web | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
caprover-server-url: ${{ secrets.CAPROVER_SERVER_URL }} | |
caprover-app-token: ${{ secrets.CAPROVER_WEB_APP_TOKEN }} | |
docker-file-name: ./Dockerfile | |
deploy_worker: | |
name: Deploy worker | |
runs-on: ubuntu-latest | |
needs: deploy_web | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: adamghill/[email protected] | |
with: | |
caprover-app-name: fediview-q2-worker | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
caprover-server-url: ${{ secrets.CAPROVER_SERVER_URL }} | |
caprover-app-token: ${{ secrets.CAPROVER_WORKER_APP_TOKEN }} | |
docker-file-name: ./Dockerfile-q2-worker |