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 2ba5498
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/pelican.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,25 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:

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

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

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

0 comments on commit 2ba5498

Please sign in to comment.