Skip to content

Commit

Permalink
Update Action to add CNAME file
Browse files Browse the repository at this point in the history
  • Loading branch information
julianaklulo committed Jun 5, 2024
1 parent cc9a333 commit ce1b1cb
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/pelican.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,28 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: bimbimprasetyoafif/pelican-simple@v1

- name: Build Pelican website
uses: bimbimprasetyoafif/pelican-simple@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Check-out gh-pages branch
uses: actions/checkout@v2
with:
ref: gh-pages
path: gh-pages

- name: Create CNAME file
run: echo "saocarlos.pyladies.com" > ./gh-pages/CNAME

- name: Add CNAME file to gh-pages branch
uses: EndBug/add-and-commit@v9
with:
message: 'Add CNAME'
add: 'CNAME'
cwd: 'gh-pages'

0 comments on commit ce1b1cb

Please sign in to comment.