Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dciborow/ml-workspace
https://github.com/dciborow/ml-workspace
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dciborow/ml-workspace
- Owner: dciborow
- License: mit
- Created: 2020-02-28T02:21:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T21:08:23.000Z (about 4 years ago)
- Last Synced: 2024-03-15T11:49:15.247Z (11 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## commit
Git commit and push
### Example
```yaml
name: publishon:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
with:
ref: master
- name: build
uses: github-actions-x/hugo@master
- name: push
uses: dciborow/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'publish'
force-add: 'true'
force-push: 'true'
files: a.txt b.txt c.txt dirA/ dirB/ dirC/a.txt
name: commiter name
email: [email protected]```
If you use `commit` inside [matrix](https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix), set variable `rebase='true'` for pulling and rebasing changes.
```yaml
name: Node CIon:
push:
branches:
- masterjobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 10.x
- 12.x
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: generate benchmarks
run: |
npm run generate-some-files-for-specific-node-version
- name: push
uses: dciborow/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: master
commit-message: '${{ matrix.node-version }} adds auto-generated benchmarks and bar graph'
rebase: 'true' # pull abd rebase before commit
```