Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
8c3c8ead
Commit
8c3c8ead
authored
May 11, 2022
by
Arun Babu Neelicattu
Committed by
Bjorn Neergaard
May 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: preview doc changes
parent
a7a42905
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
0 deletions
+78
-0
.github/workflows/docs.yml
+74
-0
.github/workflows/main.yml
+2
-0
.github/workflows/skip.yml
+2
-0
No files found.
.github/workflows/docs.yml
0 → 100644
View file @
8c3c8ead
name
:
"
Documentation
Preview"
on
:
push
:
paths-ignore
:
-
'
**'
-
'
!docs/**'
-
'
!.github/workflows/docs.yml'
branches-ignore
:
-
main
-
master
pull_request
:
paths-ignore
:
-
'
**'
-
'
!docs/**'
-
'
!.github/workflows/docs.yml'
branches
:
-
'
**'
jobs
:
deploy-preview
:
name
:
Build & Deploy
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout Website Source
uses
:
actions/checkout@v3
with
:
repository
:
python-poetry/website
ref
:
website-allow-local-version-builds
-
name
:
Checkout Poetry Source
uses
:
actions/checkout@v3
with
:
path
:
poetry
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
"
3.9"
-
name
:
Setup Node
uses
:
actions/setup-node@v2
with
:
node-version
:
"
14"
-
name
:
Build Assets
run
:
npm ci && npm run prod
-
name
:
Fetch Documentation
run
:
|
python -m pip install poetry
poetry install --no-dev
poetry run python bin/website build --local ./poetry
-
name
:
Install Hugo
uses
:
peaceiris/actions-hugo@v2
with
:
hugo-version
:
'
0.83.1'
-
name
:
Build
run
:
hugo -v --minify
-
name
:
Deploy
uses
:
amondnet/vercel-action@v20
id
:
vercel-action
with
:
vercel-token
:
${{ secrets.VERCEL_TOKEN }}
github-token
:
${{ secrets.GITHUB_TOKEN }}
vercel-org-id
:
${{ secrets.VERCEL_ORG_ID }}
vercel-project-id
:
${{ secrets.VERCEL_PROJECT_ID }}
scope
:
python-poetry
github-comment
:
true
working-directory
:
public
.github/workflows/main.yml
View file @
8c3c8ead
...
@@ -5,6 +5,7 @@ on:
...
@@ -5,6 +5,7 @@ on:
paths-ignore
:
paths-ignore
:
-
'
docs/**'
-
'
docs/**'
-
'
.cirrus.yml'
-
'
.cirrus.yml'
-
'
.github/workflows/docs.yml'
branches
:
branches
:
-
master
-
master
-
develop
-
develop
...
@@ -12,6 +13,7 @@ on:
...
@@ -12,6 +13,7 @@ on:
paths-ignore
:
paths-ignore
:
-
'
docs/**'
-
'
docs/**'
-
'
.cirrus.yml'
-
'
.cirrus.yml'
-
'
.github/workflows/docs.yml'
branches
:
branches
:
-
'
**'
-
'
**'
...
...
.github/workflows/skip.yml
View file @
8c3c8ead
...
@@ -7,6 +7,7 @@ on:
...
@@ -7,6 +7,7 @@ on:
-
'
**'
-
'
**'
-
'
!docs/**'
-
'
!docs/**'
-
'
!.cirrus.yml'
-
'
!.cirrus.yml'
-
'
!.github/workflows/docs.yml'
branches
:
branches
:
-
master
-
master
-
develop
-
develop
...
@@ -15,6 +16,7 @@ on:
...
@@ -15,6 +16,7 @@ on:
-
'
**'
-
'
**'
-
'
!docs/**'
-
'
!docs/**'
-
'
!.cirrus.yml'
-
'
!.cirrus.yml'
-
'
!.github/workflows/docs.yml'
branches
:
branches
:
-
'
**'
-
'
**'
...
...
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