changes to the user account page #159
This file contains 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: Build/web-spa | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install node | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: '14' | |
- name: Install Libraries | |
shell: bash | |
run: | | |
npm install -g @quasar/[email protected] | |
npm install -g cordova | |
npm install | |
- name: Build | |
run: | | |
quasar build -m spa | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: web-spa | |
path: dist/spa | |
- name: Build and push | |
run: | | |
docker build -t daptin/dadadash:latest . | |
docker login -u="${{ secrets.DOCKER_USERNAME }}" -p="${{ secrets.DOCKER_PASSWORD }}" | |
docker push daptin/dadadash:latest | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
draft: true | |
files: | | |
./dist/spa | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |