Skip to content

Deploy to GitHub Pages #702

Deploy to GitHub Pages

Deploy to GitHub Pages #702

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
deploy:
environment: build
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/newdark' }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Store variables
run: |
echo "WAKATIME_API_KEY=${{ secrets.WAKATIME_API_KEY }}" >> $GITHUB_ENV
- run: npm ci
- run: npm run deploy
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages-newdark
folder: build