Remove publishing task
This commit is contained in:
parent
185de016ba
commit
283a6a5c50
39
.github/workflows/publish.yml
vendored
39
.github/workflows/publish.yml
vendored
@ -1,39 +0,0 @@
|
|||||||
name: Publish to public vinted take-home-task repository
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: CI
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
- name: Remove git history
|
|
||||||
run: rm -rf .git
|
|
||||||
- name: Remove github workflows
|
|
||||||
run:
|
|
||||||
rm -rf ./.github
|
|
||||||
- name: Initialize new git repo
|
|
||||||
run: |
|
|
||||||
git init
|
|
||||||
git checkout -b main
|
|
||||||
- name: Set user credentials
|
|
||||||
run: |
|
|
||||||
git config user.name 'Vinted'
|
|
||||||
git config user.email 'no-reply@vinted.com'
|
|
||||||
- name: Commit changes
|
|
||||||
run: |
|
|
||||||
git add -A
|
|
||||||
git commit -m "First commit"
|
|
||||||
- name: Push changes
|
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.API_TOKEN }}
|
|
||||||
branch: main
|
|
||||||
repository: TimKaechele/planet_express_squashed
|
|
||||||
force: true
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user