Skip to content

Commit

Permalink
Merge pull request #303 from geoadmin/develop
Browse files Browse the repository at this point in the history
New Release v0.3.0 - #minor
  • Loading branch information
ltshb authored Nov 22, 2022
2 parents c28d110 + 1e6c804 commit 73184bd
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 480 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/add-testlink-to-pr.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
name: Create test link on PR creation
on:
pull_request:
types: [opened]
types:
- opened
- reopened
- synchronize
- edited
jobs:
update_pr:
runs-on: ubuntu-latest
steps:
- uses: tzkhan/pr-update-action@v2
- name: Create/update test link on DEV
if: ${{ github.base_ref == 'develop' }}
uses: tzkhan/pr-update-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
head-branch-regex: '.+'
body-template: |
[Test link](https://sys-map.dev.bgdi.ch/%headbranch%/index.html)
[Test link](https://sys-map.dev.bgdi.ch/preview/%headbranch%/index.html)
body-update-action: 'suffix'
body-uppercase-head-match: false

- name: Create/update deployment link on INT
if: ${{ github.base_ref == 'master' }}
uses: tzkhan/pr-update-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
head-branch-regex: '.+'
body-template: |
[Test link](https://sys-map.int.bgdi.ch/preview/%headbranch%/index.html)
body-update-action: 'suffix'
body-uppercase-head-match: false
140 changes: 0 additions & 140 deletions buildspec.yml

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
"build:dev": "npm run build -- --mode development",
"build:int": "npm run build -- --mode integration",
"build:prod": "npm run build -- --mode production",
"deploy:dev": "node scripts/deploy.js dev",
"deploy:int": "node scripts/deploy.js int",
"update:translations": "node scripts/generate-i18n-files.js",
"update:browserlist": "npx browserslist@latest --update-db"
},
Expand Down
154 changes: 0 additions & 154 deletions scripts/deploy.js

This file was deleted.

36 changes: 0 additions & 36 deletions scripts/file-utils.js

This file was deleted.

Loading

0 comments on commit 73184bd

Please sign in to comment.