Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/DockerBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ hackathlon ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '12'

- run: |
sudo npm i -g @ionic/cli
npm i
ionic build --prod --service-worker
# Runs a single command using the runners shell
- name: Build and push Docker images
# You may pin to the exact commit or the version.
# uses: docker/build-push-action@ab83648e2e224cfeeab899e23b639660765c3a89
uses: docker/[email protected]
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: supporterino
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: ${{ secrets.dockerhubpw }}
# Docker repository to tag the image with
repository: supporterino/stuv-frontend
tags: latest
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@
}
},
"cli": {
"defaultCollection": "@ionic/angular-toolkit"
"defaultCollection": "@ionic/angular-toolkit",
"analytics": "34657010-2a71-4499-a233-83c6a3e770f1"
},
"schematics": {
"@ionic/angular-toolkit:component": {
Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="de.stuv_mosbach.stuvcompanion" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="de.stuv_mosbach.stuvcompanion" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>StuV Companion</name>
<description>An awesome app to view lectures and events for the DHBW Mosbach</description>
<author email="[email protected]" href="http://stuv-mosbach.de/">StuV der DHBW Mosbach</author>
Expand Down
Loading