diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 4eb56bd..fe2affd 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -12,9 +12,11 @@ jobs: name: Build environment: prod runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + ref: main + - name: Set up Python 3.8 uses: actions/setup-python@v3 with: diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 2c21c91..f80b7ec 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -12,9 +12,11 @@ jobs: name: Build environment: staging runs-on: ubuntu-latest - if: github.ref == 'refs/heads/staging' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + ref: staging + - name: Set up Python 3.8 uses: actions/setup-python@v3 with: