Skip to content

Commit

Permalink
added Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
saidsef committed Oct 24, 2021
1 parent 6d8fc09 commit 24b3a05
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: Release
on:
push:
tags:
- "v*"
schedule:
- cron: '55 23 28 */1 *'
workflow_run:
workflows:
- Tagging
types:
- completed
branch:
- main
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -41,6 +38,7 @@ jobs:
const release = await github.repos.createRelease({
owner, repo,
tag_name: tag,
title: tag,
draft: false,
target_commitish: sha
});
Expand Down Expand Up @@ -89,4 +87,4 @@ jobs:
data: await fs.readFile(`./deployment/${file}`)
})
}
}
}

0 comments on commit 24b3a05

Please sign in to comment.