Skip to content

chore: Google Verification 🪛 #54

chore: Google Verification 🪛

chore: Google Verification 🪛 #54

Workflow file for this run

name: Publish to GitHub Pages CI/CD
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: 'read'
id-token: 'write'
pages: 'write'
actions: 'write'
checks: 'write'
deployments: 'write'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Install dependencies
run: yarn install --prefer-offline
- name: Build application
run: yarn build --outDir dist
# - name: Setup Pages
# uses: actions/configure-pages@v3
# At a minimum this job should upload artifacts using actions/upload-artifact
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}