diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 71426b1..c75bd20 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -11,6 +11,7 @@ jobs: uses: ./.github/workflows/setup-predeploy-env.yml with: environment: preview + secrets: inherit Deploy-Preview: runs-on: ubuntu-latest needs: setup-preview-environment diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1a5096e..962029c 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -11,6 +11,7 @@ jobs: uses: ./.github/workflows/setup-predeploy-env.yml with: environment: production + secrets: inherit Deploy-Production: runs-on: ubuntu-latest needs: setup-production-environment diff --git a/.github/workflows/setup-predeploy-env.yml b/.github/workflows/setup-predeploy-env.yml index ff49bbd..33837de 100644 --- a/.github/workflows/setup-predeploy-env.yml +++ b/.github/workflows/setup-predeploy-env.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest if: ${{ inputs.environment == 'preview' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Copy/Overwrite robots.txt with development robots.txt run: cp -v public/dev/robots.txt public/robots.txt - name: Copy/Overwrite sitemap.xml with development sitemap.xml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest if: ${{ inputs.environment == 'production' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Copy/Overwrite robots.txt with production robots.txt run: cp -v public/prod/robots.txt public/robots.txt - name: Copy/Overwrite sitemap.xml with production sitemap.xml