Skip to content

Test GitHub action. #70

Test GitHub action.

Test GitHub action. #70

Workflow file for this run

on:
push:
branches:
- test-action
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/build-docker-and-deploy-to-caprover@docker-image-name
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/build-docker-and-deploy-to-caprover@docker-image-name
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