refactor: Simplified admin login layout #40
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Package | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| permissions: | |
| contents: write # Needed to create a GitHub release | |
| jobs: | |
| release: | |
| name: Package and Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Get tag name | |
| id: tag | |
| run: echo "name=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT | |
| - name: Prepare common folder | |
| run: | | |
| mkdir -p common | |
| cp -r css common/ | |
| cp -r fonts common/ | |
| cp -r img common/ | |
| cp -r js common/ | |
| cp index.html common/ | |
| cp version common/ | |
| - name: Create ZIP archive | |
| run: | | |
| zip -r csk-common-${{ steps.tag.outputs.name }}.zip common | |
| - name: Create GitHub Release and Upload ZIP | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| tag_name: ${{ steps.tag.outputs.name }} | |
| files: csk-common-${{ steps.tag.outputs.name }}.zip |