diff --git a/.github/workflows/deploy-docusaurus.yml b/.github/workflows/deploy-docusaurus.yml index ebb6294..1a0efad 100644 --- a/.github/workflows/deploy-docusaurus.yml +++ b/.github/workflows/deploy-docusaurus.yml @@ -7,7 +7,7 @@ on: jobs: build-and-deploy: - runs-on: ubuntu-latest + runs-on: [self-hosted, '${{ vars.RUNNER }}'] steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/deploy-vercel.yml b/.github/workflows/deploy-vercel.yml index ba29a06..c9053ba 100644 --- a/.github/workflows/deploy-vercel.yml +++ b/.github/workflows/deploy-vercel.yml @@ -7,7 +7,7 @@ on: jobs: deploy-to-vercel: - runs-on: ubuntu-latest + runs-on: [self-hosted, '${{ vars.RUNNER }}'] steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e8abf35..13934f4 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -10,7 +10,7 @@ env: jobs: deploy: - runs-on: ubuntu-latest + runs-on: [self-hosted, '${{ vars.RUNNER }}'] if: github.ref_name == ${{ github.ref_name }} steps: - name: Deploy the service to "${{ github.ref_name }}" @@ -37,8 +37,8 @@ jobs: git fetch && \ git checkout ${{ github.ref_name }} && \ git reset --hard origin/${{ github.ref_name }} && \ - docker-compose -f docker-compose.yml pull && \ - docker-compose -f docker-compose.yml up -d --build + docker compose -f docker-compose.yml pull && \ + docker compose -f docker-compose.yml up -d --build else echo "Directory does not exist, aborting script." exit 1