Skip to content

Commit 13af134

Browse files
committed
Tetsing gh-actions building pages.
1 parent 7c5c7c7 commit 13af134

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/pages.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
6-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
72
name: Deploy to Pages
8-
93
on:
10-
# Runs on pushes targeting the default branch
114
push:
12-
branches: ["master"]
13-
14-
# Allows you to run this workflow manually from the Actions tab
15-
workflow_dispatch:
5+
branches: ["gh-actions"]
166

177
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
188
permissions:
@@ -45,3 +35,10 @@ jobs:
4535
uses: actions/upload-pages-artifact@v3
4636
with:
4737
path: public/
38+
retention-days: 30
39+
deploy:
40+
runs-on: ubuntu-latest
41+
needs: build
42+
steps:
43+
- name: Deploy org-ruby pages
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)