mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-03 03:31:18 -05:00
Update travis
This commit is contained in:
parent
c750020187
commit
dec5497a56
33
.github/workflows/build.yaml.txt
vendored
33
.github/workflows/build.yaml.txt
vendored
@ -1,33 +0,0 @@
|
||||
name: Build site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/build.yml'
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
build_site:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build site
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: Determine npm cache directory
|
||||
id: npm-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(npm config get cache)"
|
||||
- name: Restore npm cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ${{ steps.npm-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- run: npm run build
|
23
.github/workflows/check_links.yaml
vendored
23
.github/workflows/check_links.yaml
vendored
@ -1,23 +0,0 @@
|
||||
name: Check links
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/check_links.yaml'
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
check_links:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check links
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
- name: Awesome bot checking
|
||||
run: |
|
||||
gem install awesome_bot
|
||||
awesome_bot README.md --white-list edit/master,sindresorhus/awesome,www.udacity.com,screwdriver.cd,veggiemonk/awesome-docker,vimeo.com,cycle.io,www.youtube.com
|
24
.travis.yml
24
.travis.yml
@ -1,23 +1,7 @@
|
||||
# This is a weird way of telling Travis to use the fast container-based test
|
||||
# runner instead of the slow VM-based runner.
|
||||
sudo: false
|
||||
|
||||
language: node_js
|
||||
|
||||
# Only clone the most recent commit.
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
# keep cache of the deps
|
||||
cache:
|
||||
directories:
|
||||
- 'node_modules'
|
||||
|
||||
before_install:
|
||||
- rvm install 2.2
|
||||
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.6.5
|
||||
before_script:
|
||||
- gem install awesome_bot
|
||||
|
||||
script:
|
||||
- awesome_bot README.md --white-list edit/master,sindresorhus/awesome,www.udacity.com,screwdriver.cd,veggiemonk/awesome-docker,vimeo.com,cycle.io,www.youtube.com
|
||||
- awesome_bot README.md
|
Loading…
Reference in New Issue
Block a user