diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 3d3ad416..59b3dced 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -1,20 +1,19 @@ name: Continuous deployment -on: +on: release: - workflow_run: - workflows: [ "Continuous integration" ] + pull_request: branches: [ master ] - types: - - completed + types: [closed] jobs: publish: - if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Publish runs-on: ubuntu-20.04 strategy: matrix: RID: [ 'linux-x64', 'win-x64', 'osx-x64' ] + env: + release-directory: ./Epsilon.Cli/bin/Release/net6.0/ steps: - uses: actions/checkout@v2 @@ -24,9 +23,12 @@ jobs: - name: Publish run: dotnet publish Epsilon.Cli --runtime ${{ matrix.RID }} --configuration Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true - name: Copy appsettings.json - run: cp /home/runner/work/epsilon/epsilon/Epsilon.Cli/appsettings.example.json /home/runner/work/epsilon/epsilon/Epsilon.Cli/bin/Release/net6.0/${{ matrix.RID }}/publish/appsettings.json + run: cp ./Epsilon.Cli/appsettings.example.json ${{env.release-directory}}${{ matrix.RID }}/publish/appsettings.json + - name: Removing unnecessary files + run: rm ${{env.release-directory}}${{ matrix.RID }}/publish/*.pdb + - name: Create artifact ${{ matrix.RID }} uses: actions/upload-artifact@v2 with: name: Epsilon.Cli - ${{ matrix.RID }} - path: /home/runner/work/epsilon/epsilon/Epsilon.Cli/bin/Release/net6.0/${{ matrix.RID }}/publish/ \ No newline at end of file + path: ${{env.release-directory}}${{ matrix.RID }}/publish \ No newline at end of file diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 33c58b21..2b9bb230 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,5 +1,5 @@ name: Continuous integration -on: [ push, pull_request ] +on: [ pull_request ] jobs: build: diff --git a/README.md b/README.md index 2a49103c..890d4a11 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Epsilon + Epsilon is an application for students from Fontys HBO-ICT education that are following open innovation. These students usually have a personal course within Canvas (from Instructure), which contains all of their study submissions and acts as a portfolio of sorts. During each semester, it is requested to take note of all KPI's which have been proven. @@ -6,11 +7,19 @@ To aid in these efforts, this application will gather all your mastered/proven [ ![Application demo](https://i.imgur.com/JYWmtVQ.gif) -## How to use the application -[How to use](https://github.com/Typiqally/epsilon/wiki/How-to-use) +## Usage +Read how to use the application in our Wiki located [here](https://github.com/Typiqally/epsilon/wiki/How-to-use). + +## Contributors + +<a href = "https://github.com/Typiqally/epsilon/graphs/contributors"> + <img src = "https://contrib.rocks/image?repo=Typiqally/epsilon"/> +</a> + +--- -## Contribute to Epsilon -[Contributing to development](https://github.com/Typiqally/epsilon/wiki/Contributing-to-development) +Want to join the list by fixing bugs, enhancing or adding functionality or simply have a look at the source code? +Have a look at our Wiki page [here](https://github.com/Typiqally/epsilon/wiki/Contributing-to-development) to learn more about contributing. ## License