forked from GTFOBins/GTFOBins.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 791 Bytes
/
Copy pathpages.yml
File metadata and controls
36 lines (36 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Pages
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
jobs:
Build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4
bundler-cache: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build Jekyll
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Deploy:
environment:
name: github-pages
runs-on: ubuntu-22.04
needs: Build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4