Skip to content

Commit

Permalink
fish publish
Browse files Browse the repository at this point in the history
  • Loading branch information
josepot committed Oct 28, 2024
1 parent 98249f7 commit 1782bf4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 47 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/CI.yml

This file was deleted.

36 changes: 17 additions & 19 deletions .github/workflows/static.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['master']

branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_dispatch: {}

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
actions: write
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
group: "pages"
cancel-in-progress: true

jobs:
Expand All @@ -28,26 +28,24 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
node-version: 20
cache: pnpm
- name: Install deps
run: pnpm install
- name: Build
run: npm run build
env:
BASE_URL: https://w3f.github.io/validator-selection-tool/
run: pnpm build
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload dist repository
path: './dist'
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 1782bf4

Please sign in to comment.