diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml index f8a3fc5..47703ad 100644 --- a/.github/workflows/astro.yml +++ b/.github/workflows/astro.yml @@ -6,19 +6,24 @@ on: workflow_dispatch: schedule: - cron: '00 * * * *' + permissions: contents: read pages: write id-token: write + concurrency: group: "pages" cancel-in-progress: false + jobs: build-and-deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: - name: Checkout ⏬ uses: actions/checkout@v4 @@ -41,7 +46,9 @@ jobs: restore-keys: npm-deps- - name: Install deps 🍢 - run: npm install + run: | + npm install + npm update - name: Build Website from Astro 🏭 run: npm run build