chore: versionbump #270
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: Deploy new development / trunk version (master) | |
| on: | |
| push: | |
| branches: master | |
| concurrency: | |
| group: environment-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download source | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 1 | |
| submodules: true | |
| lfs: true | |
| - name: Get Node 18.x | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.x | |
| - name: Build source files | |
| shell: bash | |
| run: | | |
| sudo apt install -y subversion rsync git | |
| yarn | |
| npx tsc | |
| yarn gulp deploy | |
| git config --global user.email "chga@multinet.se" | |
| git config --global user.name "Chris Gårdenberg" | |
| - name: Deploy trunk to SVN | |
| env: | |
| WP_USERNAME: ${{ secrets.WP_USERNAME }} | |
| WP_PASSWORD: ${{ secrets.WP_PASSWORD }} | |
| run: | | |
| $GITHUB_WORKSPACE/scripts/trunk_gh.sh |