Skip to content

Commit

Permalink
added build and release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Sep 7, 2022
1 parent 9ea4fd0 commit 4615325
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,35 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1


upload-release:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: checkout
uses: actions/checkout@v2
- name: download artifacts
uses: actions/download-artifact@v2
- name: display structure of downloaded files
run: ls -R
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
artifact/nime_papers.bib
artifact/nime_music.bib
artifact/nime_installations.bib
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build combined files
run: ./generate_combined_files.sh
- name: upload artifact
uses: actions/[email protected]
with:
path: release/

0 comments on commit 4615325

Please sign in to comment.