Skip to content

Commit

Permalink
update cd
Browse files Browse the repository at this point in the history
  • Loading branch information
halilbahar committed Jan 4, 2025
1 parent 9601e12 commit 8a910b6
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Continuous Delivery
on:
workflow_dispatch:
push:
branches:
- main
tags:
- '*'

Expand All @@ -21,20 +23,11 @@ jobs:
run: npm ci
- name: Build
run: npm run build:github.io
- name: Archive artifact
shell: bash
run: |
tar \
--dereference --hard-dereference \
--directory dist/core-keeper-save-editor/ \
-cvf ${{ runner.temp }}/artifact.tar \
.
- name: Upload artifact
uses: actions/upload-artifact@main
id: deployment
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
retention-days: 1
path: dist/core-keeper-save-editor/
deploy:
needs: build
permissions:
Expand All @@ -47,4 +40,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 8a910b6

Please sign in to comment.