]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Test other action
authorJeremy Thomas <bbxdesign@gmail.com>
Sat, 30 Oct 2021 23:21:53 +0000 (00:21 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 30 Oct 2021 23:21:53 +0000 (00:21 +0100)
.github/workflows/main.yml

index 50663738fe8b5aef3a28b2491ee114af560c29f0..fdee07a10357ce2e1b11f65b40f18fa758cdd6d0 100644 (file)
@@ -6,15 +6,28 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v2
-      # Install NPM dependencies, cache them correctly
-      # and run all Cypress tests
-      - uses: helaili/jekyll-action@v2
+      # Use GitHub Actions' cache to cache dependencies on servers
+      - uses: actions/cache@v2
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          jekyll_src: "docs"
-          jekyll_build_options:
-            host: 127.0.0.1
-            port: 4000
+          path: vendor/bundle
+          key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
+          restore-keys: |
+            ${{ runner.os }}-gems-
+      - name: Build & Deploy to custom branch
+        uses: DavidS/jekyll-deploy@
+        with:
+          source-dir: docs
+        env:
+          JEKYLL_ENV: production
+          GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
+      # - name: Jekyll Build
+      #   uses: helaili/jekyll-action@v2
+      #   with:
+      #     token: ${{ secrets.GITHUB_TOKEN }}
+      #     jekyll_src: "docs"
+      #     jekyll_build_options:
+      #       host: 127.0.0.1
+      #       port: 4000
       - name: Cypress run
         uses: cypress-io/github-action@v2
         with: