Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Jupyter Docker Stacks
Commits
db4c2868
Commit
db4c2868
authored
Aug 07, 2020
by
Peter Parente
Committed by
GitHub
Aug 07, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1136 from parente/test-gh-actions
Combine jobs within workflows
parents
63fdb968
01013cf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
16 deletions
+5
-16
.github/workflows/docker.yml
.github/workflows/docker.yml
+3
-8
.github/workflows/sphinx.yml
.github/workflows/sphinx.yml
+2
-8
No files found.
.github/workflows/docker.yml
View file @
db4c2868
...
@@ -48,21 +48,16 @@ jobs:
...
@@ -48,21 +48,16 @@ jobs:
env
:
env
:
COMMIT_MSG
:
"
${{github.event.head_commit.message}}"
COMMIT_MSG
:
"
${{github.event.head_commit.message}}"
WIKI_PATH
:
../wiki
WIKI_PATH
:
../wiki
push
:
name
:
Push Docker Images
runs-on
:
ubuntu-latest
needs
:
-
build
if
:
github.ref == 'refs/heads/master'
steps
:
-
name
:
Login to Docker Hub
-
name
:
Login to Docker Hub
if
:
github.ref == 'refs/heads/master'
run
:
>
run
:
>
echo '${{secrets.DOCKERHUB_PASSWORD}}' | docker login --username
echo '${{secrets.DOCKERHUB_PASSWORD}}' | docker login --username
'${{secrets.DOCKERHUB_USERNAME}}' --password-stdin
'${{secrets.DOCKERHUB_USERNAME}}' --password-stdin
-
name
:
Push Images to DockerHub
-
name
:
Push Images to DockerHub
if
:
github.ref == 'refs/heads/master'
run
:
make -C main push-all
run
:
make -C main push-all
-
name
:
Push Wiki to GitHub
-
name
:
Push Wiki to GitHub
if
:
github.ref == 'refs/heads/master'
run
:
make -C main git-commit
run
:
make -C main git-commit
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
...
...
.github/workflows/sphinx.yml
View file @
db4c2868
...
@@ -30,20 +30,14 @@ jobs:
...
@@ -30,20 +30,14 @@ jobs:
make dev-env
make dev-env
-
name
:
Build Documentation
-
name
:
Build Documentation
run
:
make docs
run
:
make docs
gettext
:
name
:
Update Translation Source Strings
runs-on
:
ubuntu-latest
needs
:
-
build
if
:
github.ref == 'refs/heads/master'
steps
:
-
name
:
Extract Source Strings
-
name
:
Extract Source Strings
if
:
github.ref == 'refs/heads/master'
working-directory
:
docs
working-directory
:
docs
run
:
|
run
:
|
make gettext
make gettext
sphinx-intl update -p _build/gettext -l en
sphinx-intl update -p _build/gettext -l en
-
name
:
Push Strings to Master
-
name
:
Push Strings to Master
if
:
github.ref == 'refs/heads/master'
run
:
make git-commit
run
:
make git-commit
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment