Spaces:
Sleeping
Sleeping
ansfarooq7
commited on
Commit
•
a494241
1
Parent(s):
327d25a
Delete .github/workflows/main.yml
Browse files- .github/workflows/main.yml +0 -33
.github/workflows/main.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
# This is a basic workflow to help you get started with Actions
|
2 |
-
|
3 |
-
name: Sync to Hugging Face hub
|
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 |
-
|
11 |
-
# Allows you to run this workflow manually from the Actions tab
|
12 |
-
workflow_dispatch:
|
13 |
-
|
14 |
-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
15 |
-
jobs:
|
16 |
-
# This workflow contains a single job called "sync-to-hub:"
|
17 |
-
sync-to-hub:
|
18 |
-
# The type of runner that the job will run on
|
19 |
-
runs-on: ubuntu-latest
|
20 |
-
|
21 |
-
# Steps represent a sequence of tasks that will be executed as part of the job
|
22 |
-
steps:
|
23 |
-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
24 |
-
- uses: actions/checkout@v2
|
25 |
-
with:
|
26 |
-
fetch-depth: 0
|
27 |
-
|
28 |
-
# Runs a single command using the runners shell
|
29 |
-
- name: Push to hub
|
30 |
-
env:
|
31 |
-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
32 |
-
run: git push https://ansfarooq7:$HF_TOKEN@huggingface.co/spaces/ansfarooq7/l4-project main
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|