Skip to content

build(deps-dev): bump the development group with 5 updates (#76) #26

build(deps-dev): bump the development group with 5 updates (#76)

build(deps-dev): bump the development group with 5 updates (#76) #26

Workflow file for this run

name: Deploy Pages
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true
cache: npm
- run: npm ci
- name: Build
run: npm run build:dev
- uses: actions/upload-artifact@v4
with:
name: scripts
path: dist/
pages:
needs: pack
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: scripts
path: ${{ runner.temp }}/scripts/
- name: Move scripts directory
working-directory: ${{ runner.temp }}
run: |
mkdir ./dist
mv ./scripts/ ./dist
chmod -c -R +rX ./dist/ | while read -r line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- uses: actions/upload-pages-artifact@v3
with:
path: ${{ runner.temp }}/dist/
deploy:
needs: pages
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
concurrency:
group: pages
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment