Skip to content

Commit f5dcac9

Browse files
authored
finally adding this action (h5bp#736)
* finally adding this action * adding input argument * try this * try this * debugging actions is the best * debugging actions is the best * debugging actions is the best * debugging actions is the best
1 parent d50c1c3 commit f5dcac9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Eleventy Build
2+
push:
3+
branches: [main]
4+
5+
jobs:
6+
build_deploy:
7+
runs-on: ubuntu-20.04
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: actions/checkout@v3
11+
- name: Use Node.js ${{ matrix.node-version }}
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: "16.x"
15+
- run: npm install
16+
- name: Build
17+
uses: TartanLlama/actions-eleventy@master
18+
with:
19+
args: --config=config/eleventy.config.js --pathprefix='Front-end-Developer-Interview-Questions/'
20+
- name: Deploy
21+
uses: peaceiris/actions-gh-pages@v3
22+
with:
23+
publish_dir: ./_site
24+
publish_branch: gh-pages
25+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)