about summary refs log tree commit diff
path: root/users/fcuny/notes
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-06-20 13:14:12 -0700
committerFranck Cuny <franck@fcuny.net>2021-06-20 13:18:59 -0700
commita64655117936d3d527a4edd0f944f1fa5ee177e5 (patch)
tree189ca397e18cc0caafa4a7e12bcae56cd2a6400c /users/fcuny/notes
parenthugo: don't enable git info (diff)
downloadworld-a64655117936d3d527a4edd0f944f1fa5ee177e5.tar.gz
github: deploy to fly.io instead of GH pages
Diffstat (limited to '')
-rw-r--r--users/fcuny/notes/.github/workflows/gh-pages.yml22
1 files changed, 5 insertions, 17 deletions
diff --git a/users/fcuny/notes/.github/workflows/gh-pages.yml b/users/fcuny/notes/.github/workflows/gh-pages.yml
index 70e9ca8..bf3398a 100644
--- a/users/fcuny/notes/.github/workflows/gh-pages.yml
+++ b/users/fcuny/notes/.github/workflows/gh-pages.yml
@@ -7,24 +7,12 @@ on:
 
 jobs:
   deploy:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-        with:
-          submodules: true  # Fetch Hugo themes (true OR recursive)
-          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
-
       - name: Setup Hugo
-        uses: peaceiris/actions-hugo@v2
-        with:
-          hugo-version: 'latest'
-          # extended: true
-
-      - name: Build
-        run: hugo --minify
-
-      - name: Deploy
-        uses: peaceiris/actions-gh-pages@v3
+        uses: superfly/flyctl-actions@master
+        env:
+          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
         with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
-          publish_dir: ./docs
+          args: "deploy"