Skip to content

Commit

Permalink
Create release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
roseckyj committed Apr 4, 2024
1 parent 1b4fa52 commit fb8a2bb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Create Release
on:
push:
tags:
- "v*"

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: docker-compose.yml
asset_name: docker-compose.yml
asset_content_type: application/yaml
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ Guide to setup of each part of the project is in it's respective README.md file.
- [Web](./web/README.md)
- [Server](./server/README.md)

To run docker-compose in development mode, run the following command:

```bash
docker compose -f docker-compose.dev.yml up --build
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
File renamed without changes.

0 comments on commit fb8a2bb

Please sign in to comment.