clean up and fix repo
This commit is contained in:
14
.github/workflows/main.yml
vendored
Normal file → Executable file
14
.github/workflows/main.yml
vendored
Normal file → Executable file
@@ -15,9 +15,9 @@ permissions:
|
||||
# Environment variables available to all jobs and steps in this workflow
|
||||
env:
|
||||
HUGO_ENV: production
|
||||
HUGO_VERSION: "0.118.2"
|
||||
GO_VERSION: "1.20.5"
|
||||
NODE_VERSION: "18.15.0"
|
||||
HUGO_VERSION: "0.134.3"
|
||||
GO_VERSION: "1.22.2"
|
||||
NODE_VERSION: "20.0.0"
|
||||
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
|
||||
TINA_TOKEN: ${{ vars.TINA_TOKEN }}
|
||||
|
||||
@@ -26,9 +26,9 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./public
|
||||
|
||||
@@ -72,4 +72,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user