mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
commit
d7410f6416
35
.github/workflows/push.yml
vendored
35
.github/workflows/push.yml
vendored
@ -1,8 +1,8 @@
|
||||
name: CI
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, ci ]
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
@ -31,33 +31,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/main
|
||||
- run: npm test
|
||||
|
||||
docs:
|
||||
name: Generate documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/main
|
||||
- run: npm run docs
|
||||
# Temprorary deploy to check work
|
||||
- name: Deploy to openglobus.github.io
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
|
||||
with:
|
||||
source-directory: docs
|
||||
destination-github-username: openglobus
|
||||
destination-repository-name: openglobus.github.io
|
||||
user-name: Github Bot
|
||||
user-email: github-actions[bot]@users.noreply.github.com
|
||||
target-branch: master
|
||||
target-directory: docs
|
||||
|
||||
generate_types:
|
||||
name: Generate types
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/main
|
||||
- run: npm run generate_types
|
||||
- run: npm test
|
||||
41
.github/workflows/tag.yml
vendored
Normal file
41
.github/workflows/tag.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
name: Tag CI
|
||||
|
||||
on:
|
||||
create:
|
||||
tags:
|
||||
- '*'
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Generate documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/main
|
||||
- run: npm run docs
|
||||
- name: Deploy to openglobus.github.io
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
|
||||
with:
|
||||
source-directory: docs
|
||||
destination-github-username: openglobus
|
||||
destination-repository-name: openglobus.github.io
|
||||
user-name: Github Bot
|
||||
user-email: github-actions[bot]@users.noreply.github.com
|
||||
target-branch: master
|
||||
target-directory: docs
|
||||
|
||||
generate_types:
|
||||
name: Generate types
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/main
|
||||
- run: npm run generate_types
|
||||
@ -1,5 +1,5 @@
|
||||
[](https://www.npmjs.com/@openglobus/og)
|
||||
|
||||

|
||||
# Openglobus
|
||||
|
||||
English | [简体中文](README_CN.md) | [Portuguese-BR](README_pt-BR.md)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[](https://www.npmjs.com/@openglobus/og)
|
||||
|
||||

|
||||
# Openglobus
|
||||
|
||||
[English](README.md) | 简体中文 | [Portuguese-BR](README_pt-BR.md)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[](https://www.npmjs.com/@openglobus/og)
|
||||
|
||||

|
||||
# Openglobus
|
||||
|
||||
[English](README.md) | [简体中文](README_CN.md) | Portuguese-BR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user