Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
5a8222da
Commit
5a8222da
authored
3 years ago
by
AndiMajore
Browse files
Options
Downloads
Patches
Plain Diff
try to push workflow file for secondary github
parent
e59918a4
No related branches found
Branches containing commit
Tags
v0.8.7-rc2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflows/main.yml
+55
-0
55 additions, 0 deletions
workflows/main.yml
with
55 additions
and
0 deletions
workflows/main.yml
0 → 100644
+
55
−
0
View file @
5a8222da
name
:
CI
on
:
push
:
branches
:
[
master
]
pull_request
:
branches
:
[
master
]
workflow_dispatch
:
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
set up nodeJS
uses
:
actions/setup-node@v2.1.5
with
:
node-version
:
10.19.0
-
name
:
Run ng build
uses
:
colbyhill21/angular-full-ci@v1.0
with
:
command
:
run build:netex
-
name
:
Rename
run
:
mv drugstone-build/styles.css drugstone-build/drugstone.css
-
name
:
Save Release
uses
:
actions/upload-artifact@master
with
:
name
:
Release
path
:
drugstone-build/drugstone.*
deploy
:
needs
:
build
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Getting releases
uses
:
actions/download-artifact@master
with
:
name
:
Release
-
name
:
Publish
env
:
GITHUB_TOKEN
:
"
${{
secrets.RELEASE_REPO_SECRET
}}"
run
:
|
APP_NAME=drugstone
VERSION_NAME="v9.0.1"
FILENAME="$APP_NAME-v$VERSION_NAME"
TAG="v{VERSION_NAME}
TAG="latest-master"
echo $APP_NAME
echo $VERSION_NAME
echo $FILENAME
echo $TAG
git clone https://github.com/AndiMajore/drugstone-releases.git
cd releases
gh release delete "{$TAG}"
gh release create -a "../${APP_NAME}.*" -m "Latest release of drugsTone: ${FILENAME} -p "${TAG}"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment