Skip to content

Commit

Permalink
update CI logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeck committed Jul 27, 2022
1 parent a47945a commit 993044a
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,18 @@ on:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
api:
name: API Build
release:
name: Version Release
runs-on: ubuntu-latest
steps:
- name: 📂 setup api endpoints
uses: actions/checkout@v2
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.3
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
custom_opts: JEKYLL_ENV=production --trace --destination ./dist/site
- name: get version
id: version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: 🚀 deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/site
publish_dir: ./evaluations
destination_dir: ./${{ steps.version.outputs.VERSION }}
allow_empty_commit: true
commit_message: VERSION - ${{ steps.version.outputs.VERSION }}
Expand Down

0 comments on commit 993044a

Please sign in to comment.