Add links to the speakers' slides #410
Workflow file for this run
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
name: Test | |
on: pull_request | |
env: | |
DOCKER_IMAGE: '${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}' | |
jobs: | |
test: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/cancel-workflow-action@0.6.0 | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v2.3.4 | |
with: | |
submodules: true | |
- name: Set env BRANCH_TAG | |
uses: nimblehq/branch-tag-action@v1.2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1.6.0 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Docker pull | |
if: env.BRANCH_TAG != 'latest' && env.BRANCH_TAG != 'develop' | |
run: docker-compose -f docker-compose.test.yml pull || true | |
- name: Build Docker image | |
run: docker-compose -f docker-compose.test.yml build | |
- name: Docker push | |
run: docker-compose -f docker-compose.test.yml push | |
- name: HTML Linter | |
run: ./bin/docker-test |