chore: make vault action consumable (#43)
* chore: make vault action consumable * fix prefixless queries to default to data * fix the right build entrypoint * make output more forgiving and shore up selectors * clarify doc language * add npmtoken
This commit is contained in:
15
src/index.js
15
src/index.js
@@ -1,10 +1,7 @@
|
||||
const core = require('@actions/core');
|
||||
const { exportSecrets } = require('./action');
|
||||
const auth = require('./auth');
|
||||
const secrets = require('./secrets');
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
await core.group('Get Vault Secrets', exportSecrets);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
})();
|
||||
module.exports = {
|
||||
auth,
|
||||
secrets
|
||||
};
|
||||
Reference in New Issue
Block a user