Spaces:
Running
Running
feat: test action
Browse files- .github/workflows/main.yml +5 -10
.github/workflows/main.yml
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
-
name: max-file-size
|
| 4 |
-
|
| 5 |
-
# Controls when the workflow will run
|
| 6 |
on:
|
| 7 |
-
# Triggers the workflow on push or pull request events but only for the main branch
|
| 8 |
push:
|
| 9 |
branches: [main]
|
| 10 |
pull_request:
|
|
@@ -13,13 +9,9 @@ on:
|
|
| 13 |
# Allows you to run this workflow manually from the Actions tab
|
| 14 |
workflow_dispatch:
|
| 15 |
|
| 16 |
-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
| 17 |
jobs:
|
| 18 |
-
|
| 19 |
-
# The type of runner that the job will run on
|
| 20 |
runs-on: ubuntu-latest
|
| 21 |
-
|
| 22 |
-
# Steps represent a sequence of tasks that will be executed as part of the job
|
| 23 |
steps:
|
| 24 |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
| 25 |
- uses: actions/checkout@v2
|
|
@@ -27,3 +19,6 @@ jobs:
|
|
| 27 |
- uses: ActionsDesk/[email protected]
|
| 28 |
with:
|
| 29 |
filesizelimit: 900000 # so we can sync to HF spaces
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync to Hugging Face hub
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
on:
|
|
|
|
| 4 |
push:
|
| 5 |
branches: [main]
|
| 6 |
pull_request:
|
|
|
|
| 9 |
# Allows you to run this workflow manually from the Actions tab
|
| 10 |
workflow_dispatch:
|
| 11 |
|
|
|
|
| 12 |
jobs:
|
| 13 |
+
sync-to-hub:
|
|
|
|
| 14 |
runs-on: ubuntu-latest
|
|
|
|
|
|
|
| 15 |
steps:
|
| 16 |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
| 17 |
- uses: actions/checkout@v2
|
|
|
|
| 19 |
- uses: ActionsDesk/[email protected]
|
| 20 |
with:
|
| 21 |
filesizelimit: 900000 # so we can sync to HF spaces
|
| 22 |
+
# Runs a single command using the runners shell
|
| 23 |
+
- name: Run a one-line script
|
| 24 |
+
run: ls ./**
|