Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/amzrk2/hugo-theme-fuji.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsrkafuu <dsrkafuu@outlook.com>2022-02-24 19:39:14 +0300
committerdsrkafuu <dsrkafuu@outlook.com>2022-02-24 19:39:14 +0300
commitd2d572cdae9281d4d489bc74101450fde0ea8059 (patch)
tree01b2252a31db7bd34760cf64e87ad99c01973467
parent94713fb248762941d8603bfae7764cd71a4e3f56 (diff)
fix: pages action syntax
-rw-r--r--.github/workflows/pages.yml5
-rw-r--r--.github/workflows/test.yml24
2 files changed, 1 insertions, 28 deletions
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index fa8ab50..2553c84 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -3,7 +3,7 @@ name: pages
on:
push:
branches:
- - main
+ - master
pull_request:
jobs:
@@ -24,13 +24,10 @@ jobs:
mkdir themes
ln -s ../.. themes/fuji
hugo
- cd ..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
- run: |
- cd exampleSite
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index 6050503..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: build-test
-
-on:
- - push
- - pull_request
-
-jobs:
- build:
- name: build
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
-
- - name: setup Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "latest"
-
- - name: build example
- run: |
- cd exampleSite
- mkdir themes
- ln -s ../.. themes/fuji
- hugo