Skip to content

HOTFIX: THE HEADER ON MOBILE BROKE?!? #154

HOTFIX: THE HEADER ON MOBILE BROKE?!?

HOTFIX: THE HEADER ON MOBILE BROKE?!? #154

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 0 24 12 *"
- cron: "0 0 27 12 *"
- cron: "0 0 1 1 *"
- cron: "0 0 2 1 *"
permissions:
contents: write
pages: write
id-token: write
actions: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.ACTIONS_TOKEN }}
- name: Determine Workflow Branch
run: echo "TARGET_BRANCH=${{ github.event.pull_request.head.ref || github.ref_name }}" >> $GITHUB_ENV
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install dependencies
run: npm i
- name: Build project
run: npm run build
- name: Upload extra artifacts
uses: actions/upload-artifact@v4
with:
name: webpify-results
path: ./webp-conversion-results.json
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4