This repository was archived by the owner on Feb 8, 2024. It is now read-only.
generated from vuestorefront/storefront-api
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e88f368
commit 8bca6e5
Showing
2 changed files
with
53 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ on: | |
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
|
@@ -54,24 +57,3 @@ jobs: | |
yarn test:integration | ||
env: | ||
CI: true | ||
- run: set -e | ||
- run: | | ||
cd docs | ||
npm i | ||
npm run build | ||
- run: | | ||
cd docs | ||
git clone https://github.com/adempiere/proxy-adempiere-api.git --branch gh-pages --single-branch gh-pages | ||
cp -r .vuepress/dist/* gh-pages/ | ||
cd gh-pages | ||
touch .nojekyll | ||
git init | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Update documentation" -a || true | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
branch: gh-pages | ||
directory: docs/gh-pages | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
# This file was contributed by Carlos Parada and Yamel Senih from ERP Consultores y Asociados, C.A | ||
|
||
name: ADempiere Proxy Publish | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the develop branch | ||
release: | ||
types: | ||
- published | ||
# 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" | ||
publish: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Build Documentation Adempiere ... | ||
- run: set -e | ||
- run: | | ||
cd docs | ||
npm i | ||
npm run build | ||
- run: | | ||
cd docs | ||
git clone https://github.com/adempiere/proxy-adempiere-api.git --branch gh-pages --single-branch gh-pages | ||
cp -r .vuepress/dist/* gh-pages/ | ||
cd gh-pages | ||
touch .nojekyll | ||
git init | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -m "Update documentation" -a || true | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
branch: gh-pages | ||
directory: docs/gh-pages | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |