mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-16 07:03:13 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
971 B
YAML
39 lines
971 B
YAML
name: 'Dev Image CI'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '11 11 * * *'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '.github/workflows/dev-image.yml'
|
|
- '.dockerignore'
|
|
- '.nvmrc'
|
|
- 'Dockerfile'
|
|
- 'Makefile'
|
|
- 'docker-compose.yml'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/dev-image.yml'
|
|
- '.dockerignore'
|
|
- '.nvmrc'
|
|
- 'Dockerfile'
|
|
- 'Makefile'
|
|
- 'docker-compose.yml'
|
|
|
|
jobs:
|
|
dev-image-test:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- name: Login to Packages
|
|
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
|
|
- run: docker-compose pull --quiet
|
|
if: github.event_name == 'pull_request'
|
|
- run: make build
|
|
- run: docker images
|
|
- run: docker-compose push
|
|
if: github.ref == 'refs/heads/main' && github.event.repository.fork == false
|