mirror of
https://github.com/gabrielkheisa/discord-active-developer-badge.git
synced 2024-12-03 16:53:34 +07:00
fix
This commit is contained in:
parent
82ee4813fa
commit
ab64f2a90d
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
@ -1,32 +1,4 @@
|
||||
name: Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t discord-badge .
|
||||
|
||||
- name: Run Docker container
|
||||
run: |
|
||||
docker run -d -e TOKEN=${{ secrets.DISCORD_TOKEN }} discord-badge
|
||||
|
||||
|
||||
|
||||
|
||||
name: Publish Docker Image
|
||||
name: Build and Publish Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
|
Loading…
Reference in New Issue
Block a user