Skip to content

Commit 4003156

Browse files
committed
Use peaceiris/actions-gh-pages@v3
1 parent f764b4a commit 4003156

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ jobs:
1313
uses: actions/checkout@v2
1414
with:
1515
persist-credentials: false
16-
- name: Build and Deploy
17-
uses: JamesIves/github-pages-deploy-action@releases/v3
16+
- uses: ruby/setup-ruby@v1
1817
with:
19-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
20-
BRANCH: gh-pages
21-
FOLDER: build
18+
ruby-version: 2.6
19+
- name: Install dependencies
20+
run: bundle install
21+
- name: Build
22+
run: bundle exec middleman build
23+
- name: Deploy
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.ACCESS_TOKEN }}
27+
publish_dir: ./build

0 commit comments

Comments
 (0)