mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-18 11:24:17 +03:00
c21487f4d1
* Add GitHub Actions workflow for verification Add a GitHub Actions workflow file that does the verification of pushes and pull requests. I.e., it runs the linters, runs the tests, and builds the website. This workflow runs for all `pull_requests` and `push`es. * Add GitHub Actions workflow for deployment Add a GitHub Actions workflow file that does the deployment upon pushes to master. Before actually deploying, the linters and test are ran, just in case. * Remove Travis CI configuration file * Remove unnecessary quotes from existing workflows * Add caching for "Build website" verification * Update build badge in README Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
17 lines
488 B
YAML
17 lines
488 B
YAML
name: Automated releases
|
|
on:
|
|
pull_request_review:
|
|
types: [submitted]
|
|
schedule:
|
|
# "At 00:00 on Sunday" (https://crontab.guru/once-a-week)
|
|
- cron: "0 0 * * 0"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
if: (github.event_name == 'pull_request_review' && contains(github.event.pull_request.labels.*.name, 'release')) || github.event_name == 'schedule'
|
|
steps:
|
|
- uses: simple-icons/release-action@master
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|