Skip to content

Commit

Permalink
build(github.io): Create a deploy based on tags for fluz.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
fluz committed Oct 2, 2023
1 parent dc8db6b commit ec2d9f4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish_cv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
- name: Build 🔧
run: docker compose up cv

- name: test
run: ls -lhtr ./build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/publish_github-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Publish to fluz.github.io

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Build 🔧
run: docker compose up cv

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
repository-name: fluz/fluz.github.io
branch: gh-pages
folder: build
single-commit: true
clean: true
token: ${{ secrets.PUBLISH_TO_GITHUBPAGES }}

0 comments on commit ec2d9f4

Please sign in to comment.