gtx


Branch: develop

Author
thewhodidthis <thewhodidthis@fastmail.com>
Date
Feb. 18 '23 09:57:49
Commit
f9845e6d15233464e974977dff509d5a120189c3
Parent
da11e8bad5b891cfd50bd405735b7739dcd92565
Changes
diff --git a/.github/workflows/static.yml b/.github/workflows/demo.yml
similarity index 62%
rename from .github/workflows/static.yml
rename to .github/workflows/demo.yml
index 6cb4232..918fb80 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/demo.yml
@@ -1,27 +1,16 @@
-# Simple workflow for deploying static content to GitHub Pages
 name: Demo
-
 on:
-  # Runs on pushes targeting the default branch
   push:
     branches: ["main"]
-
-  # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
-
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
 permissions:
   contents: read
   pages: write
   id-token: write
-
-# Allow one concurrent deployment
 concurrency:
   group: "pages"
   cancel-in-progress: true
-
 jobs:
-  # Single deploy job since we're just deploying
   deploy:
     environment:
       name: github-pages
@@ -35,13 +24,12 @@ jobs:
       - name: Setup Go environment
         uses: actions/setup-go@v3.5.0
         with:
-          # The Go version to download (if necessary) and use. Supports semver spec and ranges.
-          go-version: '>=1.18.0'
+          go-version: ">=1.18.0"
       - run: go run . -s https://github.com/thewhodidthis/gtx.git -n gtx ./_example
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v1
         with:
-          path: './_example'
+          path: _example
       - name: Deploy to GitHub Pages
         id: deployment
         uses: actions/deploy-pages@v1